package com.uzai.console.vo.groupsendjob;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 新建群发任务消息
 * @author liuqi
 * @date 2022年01月21日 14:18
 */
@Data
@ApiModel("返回群发消息信息列表")
public class GroupSendMsgVo implements Serializable {
    private static final long serialVersionUID = -4544489542177207189L;

    @ApiModelProperty("主ID")
    private String id;

    @ApiModelProperty("发送内容")
    private String msg;

    @ApiModelProperty("会员id")
    private Long userId;

    @ApiModelProperty("会员wxid")
    private String bizUserId;

    @ApiModelProperty("会员昵称")
    private String nickName;

    @ApiModelProperty("延迟时间")
    private int delay;

    @ApiModelProperty("发送时间")
    private int sendTime;

    @ApiModelProperty("消息助手对应的会员信息列表")
    private List<GroupSendUserInfo> groupSendUserInfos;

    @ApiModelProperty("群发消息类型(0-普通模式；1-群发助手）")
    private int groupSendType;

    @Data
    @ApiModel("返回群发消息信息列表")
    public static class GroupSendUserInfo {
        @ApiModelProperty("会员id")
        private Long userId;
        @ApiModelProperty("微信id")
        private String bizUserId;
        @ApiModelProperty("会员昵称")
        private String nickName;
    }


}
